package lekcja2.zad1;

public class Zad1 {
    public static void main(String[] args) {
        int[] tab = new int[10];

        tab[0] = 11;
        tab[1] = 12;
        tab[2] = 19;
        tab[3] = 10;
        tab[4] = 18;
        tab[5] = 17;
        tab[6] = 16;
        tab[7] = 124;
        tab[8] = 123;
        tab[9] = 121;

        for (int i = 0; i <= 9; i++) {
            System.out.println(tab[i]);
        }

        // drugi sposob tworzenia tablicy
        // int[] tab2 = {1, 2, 3, 4, 5, 6, 7, 8, 9};

        // trzeci sposob
        // int[] tab3 = new int[]{1, 2, 3, 4, 5, 6, 7, 8, 9};
    }
}
